package cn.ulc.socket.weapp.controller;

import cn.ulc.common.util.Result;
import cn.ulc.socket.weapp.service.AdvertisingServ;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/wechat/advertising")
public class AdvertisingController {
    @Autowired
    AdvertisingServ advertisingServ;

    @GetMapping("/findTypeList")
    public Result findTypeAdList(){
        return Result.success(advertisingServ.findTypeAdList());
    }

}
